const mutations = {
    TOGGLE_STATE(state, name) {
        state[name] = !state[name]
    },
    LOGOUT_STATE(state) {
        state.isLogin = false
    },
    SET_INNER_HEIGHT(state, height) {
      state.innerHeight = height
    },
    SET_MENU(state, menu) {
      state.menu = menu
    }
}
export default mutations
